﻿package com.jxl.dnd.classes
{
	public class Fighter extends CharacterClass
	{
		
		public function Fighter(intelligenceModifier:Number):void
		{
			
			className_str = "Fighter";
			level = 1;
			baseSaveLow = 0;
			baseSaveHigh = 2;
			baseAttackBonus_array = [1];
			
			xp = 0;
			classSkillMaxRanks = 4;
			crossClassSkillMaxRanks = 2;
			feats_array = [];
			abilityIncreases = {strength: 0,
								 dexterity: 0,
								 constitution: 0,
								 intelligence: 0,
								 wisdom: 0,
								 charisma: 0};
			
			description_str = "";
			
			abilities_array = ["Strength", "Constitution", "Dexterity"];
			alignment_str = "Any";
			hitDie_str = "d10";
			fortSave = 2;
			refSave = 0;
			willSave = 0;
			special_array = ["bonus feat"];
			spellsPerDay_array = [0];
			classSkillsStarting = 0;
			classSkillsPerLevel = 0;
			classSkills_array = ["Climb (Str)", 
								 "Craft (Int)",
								 "Handle Animal (Cha)", 
								 "Jump (Str)", 
								 "Ride (Dex)", 
								 "Swim (Str)"];
			armorProficiency_array = ["light armor", "medium armor", "heavy armor", "shields"];
			weaponProficiency_array = ["simple weapons", "martial weapons"];
			spells_array = [];
			uniqueAbilities_array = [{name: "Bonus Feats"},
									{name: "Weapon Specialization", level: 4}];
			
			classSkillsStarting = ( 2 + intelligenceModifier) * 4;
			classSkillsPerLevel = 2 + intelligenceModifier;
		}
	}

}
